package cn.dakaqi.dao.user;

import cn.dakaqi.entities.user.VolunteerCertification;
import cn.dakaqi.utils.exception.ServiceRuntimeException;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

/**
 * Created by chunyang on 2016/4/18.
 */
public interface VolunteerCertificationDao extends PagingAndSortingRepository<VolunteerCertification, Long>, JpaSpecificationExecutor<VolunteerCertification>
{
    VolunteerCertification findByMemberCode(String memberCode)throws ServiceRuntimeException;
}
